<html>
<%@ page import="java.sql.*" %>
<center><img src="images/5.jpeg" border=0 width=363 height=228><img src="images/10.jpeg" border=0 width=263 height=228> <img src="images/6.jpeg" border=0 width=263 height=228>
<body bgcolor="#fdfec5" >
<%
try
{
int accno=Integer.parseInt(request.getParameter("accno"));
String acctype=request.getParameter("acctype");
int amount=Integer.parseInt(request.getParameter("amount"));
String branch=request.getParameter("branch");
  Class.forName("oracle.jdbc.driver.OracleDriver");
   Connection con=DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:xe","bank","bank");
  Statement st=con.createStatement();
 int i=st.executeUpdate("insert into accountdetails values("+accno+",'"+acctype+"',"+amount+",'"+branch+"')");
 if(i>0)
 {
   System.out.println("inserted");%>
  <div id="text14" style="position:absolute; overflow:hidden; left:500px; top:350px; width:550px; height:20px; z-index:19">
<div class="wpmd">
<div> <marquee align="left"><font size="4" color="#fdfec5"><B><a href="transferfunds.jsp">  Sucessfully Inserted</a></B></font></marquee></div>
</div></div>
   <%
 }
}
catch(Exception e){}
%>
</body>
</html>